package com.relytosoft.mizar.media.display.services.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.relytosoft.mizar.media.display.api.entity.VideoConfig;

/**
 * 视频预览配置业务类
 *
 * @author hj
 * @version 1.0
 * @date 2022/4/13 14:41
 * @ClassName VideoConfigService
 */
public interface VideoConfigService extends IService<VideoConfig> {

    /**
     * 通过用户id查询当前配置信息
     * @author jgg
     * @date 2022/4/13 15:37
     * @return com.relytosoft.mizar.media.display.api.entity.VideoConfig
     */
    VideoConfig getByUserId();

    /**
     * 设置视频预览配置
     * @author jgg
     * @date 2022/4/13 15:51
     * @param config
     * @return boolean
     */
    boolean edit(VideoConfig config);
}
